<template>
  <div>
    <div v-if="type==='UserControl'">
      <UserTab />
    </div>
    <div v-if="type==='RoleControl'">
      <RoleTab />
    </div>
    <div v-if="type==='UserControl'" />
  </div>
</template>

<script>
import UserTab from './UserTab.vue'
import RoleTab from './RoleTab.vue'
export default {
  components: {
    UserTab,
    RoleTab
  },
  props: {
    type: {
      type: String,
      default: 'UserControl'
    }
  },
  data() {
    return {
    }
  },
  created() {
  },
  methods: {

  }
}
</script>

<style scoped>

</style>
